package com.xjgc.model.entity.eip;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author zhanghongbin
 * @since 2019-11-23
 */

@TableName("zxj_eip_2c_xtld")
public class ZxjEip2cXtld implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 销售订单号
     */
    @ExcelProperty("销售订单号")
    @TableField("\"SALES_ORD_NO\"")
    private String salesOrdNo;

    /**
     * 交流采样 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"ACSAMPLING_RES\"")
    private String acsamplingRes;

    /**
     * 开入回路 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"OPENIN_LOOP_RES\"")
    private String openinLoopRes;

    /**
     * 开出回路 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"OPENOUT_LOOP_RES\"")
    private String openoutLoopRes;

    /**
     * 网络风暴 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"CYBERSTORM_RES\"")
    private String cyberstormRes;

    /**
     * 雪崩试验 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"AVALANCHE_TEST_RES\"")
    private String avalancheTestRes;

    /**
     * 对时 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"TIMING_RES\"")
    private String timingRes;

    /**
     * 通讯 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"COMMUNICATION_RES\"")
    private String communicationRes;

    /**
     * SOE 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"SOE_RES\"")
    private String soeRes;

    /**
     * 监控系统图形组态测试 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"CADA_GAR_CON_RES\"")
    private String cadaGarConRes;

    /**
     * 监控软件功能 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"SOFT_WARE_FUNCTION_RES\"")
    private String softWareFunctionRes;

    /**
     * 连续运行 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"CON_OPERATION_RES\"")
    private String conOperationRes;

    /**
     * 供应商编号
     */
    @ExcelIgnore
    @TableField("\"SUPPLIER_CODE\"")
    private String supplierCode;

    /**
     * 1：未读（默认状态）
     * 0：成功；
     */
    @ExcelIgnore
    @TableField("\"IOFLAG\"")
    private String ioflag;

    @ExcelIgnore
    @TableId(value = "tid", type = IdType.AUTO)
    private Integer tid;

    /**
     * 完成时间
     */
    @ExcelProperty("出厂检测审批时间")
    @TableField("\"END_TIME\"")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 装置编号
     */
    @ExcelIgnore
    @TableField("\"UNIT_NO\"")
    private String unitNo;

    /**
     * 工艺编号
     */
    @ExcelIgnore
    @TableField("\"PROCESS_ROUTE_NO\"")
    private String processRouteNo;

    @ExcelIgnore
    @TableField("\"REMARK1\"")
    private String remark1;

    @ExcelIgnore
    @TableField("\"REMARK2\"")
    private String remark2;

    @TableField("\"REMARK3\"")
    @ExcelIgnore
    private String remark3;

    @TableField("\"REVIEW_STATUS\"")
    @ExcelIgnore
    private String reviewStatus;

    @ExcelProperty("合同号")
    @TableField(value = "\"CONTRACT_NUMBER\"")
    private String contractNumber;

    @JsonIgnore
    @ExcelIgnore
    @TableField("\"UPDATE_TIME\"")
    private Date updateTime;

    @ExcelIgnore
    @TableField(exist = false)
    private String doneStatus;

    /*--------------------------------------*/

    @TableField(exist = false)
    @ExcelProperty("状态")
    private String ioflagName;

    @TableField(exist = false)
    @ExcelProperty("推送结果")
    private String messageName;

    /*---------------------------------------------------------------------------------*/

    public String getIoflagName() {
        return ioflagName;
    }

    public void setIoflagName(String ioflagName) {
        this.ioflagName = ioflagName;
    }

    public String getMessageName() {
        return messageName;
    }

    public void setMessageName(String messageName) {
        this.messageName = messageName;
    }

    public String getDoneStatus() {
        return doneStatus;
    }

    public void setDoneStatus(String doneStatus) {
        this.doneStatus = doneStatus;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getSalesOrdNo() {
        return salesOrdNo;
    }

    public void setSalesOrdNo(String salesOrdNo) {
        this.salesOrdNo = salesOrdNo;
    }

    public String getAcsamplingRes() {
        return acsamplingRes;
    }

    public void setAcsamplingRes(String acsamplingRes) {
        this.acsamplingRes = acsamplingRes;
    }

    public String getOpeninLoopRes() {
        return openinLoopRes;
    }

    public void setOpeninLoopRes(String openinLoopRes) {
        this.openinLoopRes = openinLoopRes;
    }

    public String getOpenoutLoopRes() {
        return openoutLoopRes;
    }

    public void setOpenoutLoopRes(String openoutLoopRes) {
        this.openoutLoopRes = openoutLoopRes;
    }

    public String getCyberstormRes() {
        return cyberstormRes;
    }

    public void setCyberstormRes(String cyberstormRes) {
        this.cyberstormRes = cyberstormRes;
    }

    public String getAvalancheTestRes() {
        return avalancheTestRes;
    }

    public void setAvalancheTestRes(String avalancheTestRes) {
        this.avalancheTestRes = avalancheTestRes;
    }

    public String getTimingRes() {
        return timingRes;
    }

    public void setTimingRes(String timingRes) {
        this.timingRes = timingRes;
    }

    public String getCommunicationRes() {
        return communicationRes;
    }

    public void setCommunicationRes(String communicationRes) {
        this.communicationRes = communicationRes;
    }

    public String getSoeRes() {
        return soeRes;
    }

    public void setSoeRes(String soeRes) {
        this.soeRes = soeRes;
    }

    public String getCadaGarConRes() {
        return cadaGarConRes;
    }

    public void setCadaGarConRes(String cadaGarConRes) {
        this.cadaGarConRes = cadaGarConRes;
    }

    public String getSoftWareFunctionRes() {
        return softWareFunctionRes;
    }

    public void setSoftWareFunctionRes(String softWareFunctionRes) {
        this.softWareFunctionRes = softWareFunctionRes;
    }

    public String getConOperationRes() {
        return conOperationRes;
    }

    public void setConOperationRes(String conOperationRes) {
        this.conOperationRes = conOperationRes;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getIoflag() {
        return ioflag;
    }

    public void setIoflag(String ioflag) {
        this.ioflag = ioflag;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getUnitNo() {
        return unitNo;
    }

    public void setUnitNo(String unitNo) {
        this.unitNo = unitNo;
    }

    public String getProcessRouteNo() {
        return processRouteNo;
    }

    public void setProcessRouteNo(String processRouteNo) {
        this.processRouteNo = processRouteNo;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    public String getRemark3() {
        return remark3;
    }

    public void setRemark3(String remark3) {
        this.remark3 = remark3;
    }

    public String getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    @Override
    public String toString() {
        return "ZxjEip2cXtld{" +
                "salesOrdNo=" + salesOrdNo +
                ", acsamplingRes=" + acsamplingRes +
                ", openinLoopRes=" + openinLoopRes +
                ", openoutLoopRes=" + openoutLoopRes +
                ", cyberstormRes=" + cyberstormRes +
                ", avalancheTestRes=" + avalancheTestRes +
                ", timingRes=" + timingRes +
                ", communicationRes=" + communicationRes +
                ", soeRes=" + soeRes +
                ", cadaGarConRes=" + cadaGarConRes +
                ", softWareFunctionRes=" + softWareFunctionRes +
                ", conOperationRes=" + conOperationRes +
                ", supplierCode=" + supplierCode +
                ", ioflag=" + ioflag +
                ", tid=" + tid +
                ", endTime=" + endTime +
                ", unitNo=" + unitNo +
                ", processRouteNo=" + processRouteNo +
                ", remark1=" + remark1 +
                ", remark2=" + remark2 +
                ", remark3=" + remark3 +
                ", reviewStatus=" + reviewStatus +
                ", contractNumber=" + contractNumber +
                "}";
    }
}
